<template>
  <Table v-bind="$attrs" :size="size">
    <template v-for="(index, name) in $slots" v-slot:[name]>
      <slot :name="name" />
    </template>
  </Table>
</template>
<script setup lang="ts">
import { Table, type TableProps } from 'ant-design-vue'
type Props = Pick<TableProps, 'size'>
withDefaults(defineProps<Props>(), {})
defineOptions({
  name: 'DiTable'
})
</script>
<style module lang="scss"></style>
